--- /dev/null
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Tue, 3 Sep 2019 21:06:38 +0200
+Subject: Fix manpage xml
+
+---
+ xmldoc/gpsbabel_man.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xmldoc/gpsbabel_man.xml b/xmldoc/gpsbabel_man.xml
+index 621f080..522bc83 100644
+--- a/xmldoc/gpsbabel_man.xml
++++ b/xmldoc/gpsbabel_man.xml
+@@ -32,7 +32,7 @@
+ Magellan) connected by a serial or USB port.
+ </para>
+
+-</para>
++<para>
+ By flattening the Tower of Babel that the authors of various programs
+ for manipulating GPS data have imposed upon us, it returns to us the
+ ability to freely move our own waypoint data between the programs and
0008-Use-usb.h-from-system-include-dir.patch
0011-Fix-exec-in-gpsbabel.desktop.patch
0009-Don-t-pass-MAKEFLAGS-to-MAKE.patch
+0010-Fix-manpage-xml.patch
--with-doc=$(DOCTEMP) \
--prefix=/usr
convert -resize 32x32 gui/images/appicon.png debian/gpsbabel.xpm
-
-
-override_dh_installman:
- export PATH="$(CURDIR)/gpsbabel:$$PATH" ;\
- help2man --manual='gpsbabel documentation' \
- --section=1 \
- --name='GPS route and waypoint data converter' \
- --source='http://www.gpsbabel.org' \
- --locale=C \
- -N \
- --version-string=$(DEB_VERSION) \
- --opt-include=$(CURDIR)/debian/gpsbabel.help2man \
- -o debian/gpsbabel.1 \
- ./gpsbabel
- dh_installman
+ xsltproc --output debian/gpsbabel.1 /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl xmldoc/gpsbabel_man.xml
override_dh_auto_build-arch:
dh_auto_build